package com.pro.xwt.common.service.impl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pro.xwt.common.mapper.RProjEmpMapper;
import com.pro.xwt.common.model.RProjEmp;
import com.pro.xwt.common.model.RProjEmpKey;
import com.pro.xwt.common.service.RProjEmpService;
@Service("rProjEmpService")
public class RProjEmpServiceImpl implements RProjEmpService{
	@Autowired
	RProjEmpMapper dao;
	
	public int deleteByPrimaryKey(RProjEmpKey key) {
		return dao.deleteByPrimaryKey(key);
	}

	public int insert(RProjEmp record) {
		return dao.insert(record);
	}

	public int insertSelective(RProjEmp record) {
		return dao.insertSelective(record);
	}

	public RProjEmp selectByPrimaryKey(RProjEmpKey key) {
		return dao.selectByPrimaryKey(key);
	}

	public int updateByPrimaryKeySelective(RProjEmp record) {
		return dao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(RProjEmp record) {
		return dao.updateByPrimaryKey(record);
	}

	@Override
	public int selectEmpCountById(String id) {
		
		return dao.selectEmpCountById(id);
	}

	@Override
	public List<Map<String, Object>> selectEmpCountAndProj(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dao.selectEmpCountAndProj(map);
	}

}
